﻿namespace WinForms.ControlList.LeadFrom
{
    using Bll.Systems;
    using Model.Systems;
    using System;
    using System.ComponentModel;
    using System.Drawing;
    using System.Runtime.InteropServices;
    using System.Windows.Forms;
    using WinForms;
    using WinForms.Properties;

    public class FrmLead : Form
    {
        private Button btn_AProc;
        private Button btn_Aqtfy;
        private Button btn_ASale;
        private Button btn_AStock;
        private Button btn_Axitongshezhi;
        private Button btn_cgbb;
        private Button btn_CommSet;
        private Button btn_CommTypeSet;
        private Button btn_Dl;
        private Button btn_Guest;
        private Button btn_JiaGong;
        private Button btn_JXCmxz;
        private Button btn_KhZk;
        private Button btn_lltj;
        private Button btn_Lrtj;
        private Button btn_Procu;
        private Button btn_ProPay;
        private Button btn_qtfy;
        private Button btn_saleBb;
        private Button btn_Stock;
        private Button btn_Suppile;
        private Button btn_TeaPackage;
        private Button btn_TeaPay;
        private Button btn_TeaProcess;
        private Button btn_TeaSale;
        private Button btn_TeaTiaoZhi;
        private Button btn_TestDunk;
        private Button btn_ZhangHuMingXi;
        private CheckBox chk_IsShow;
        private IContainer components = null;
        private FrmMains FrmMain = null;
        public const int HTCAPTION = 2;
        private Label lbl_TiShi;
        private Label lblTitle;
        private LinkLabel link_Close;
        private Panel pan_AllPanel;
        private Panel pan_AllPlanes;
        private Panel pan_Bottoms;
        private Panel pan_Dock;
        private Panel pan_DockBottom;
        private Panel pan_DockLeft;
        private Panel pan_DockRight;
        private Panel pan_JiaGong;
        private Panel pan_LeftMenu;
        private Panel pan_Lefts;
        private Panel pan_LiRun;
        private Panel pan_Proc;
        private Panel pan_Rights;
        private Panel pan_Sale;
        private Panel pan_Stock;
        private Panel pan_Top;
        private Panel pan_TopLeft;
        private Panel pan_TopRight;
        private Panel pan_XiTongSheZhi;
        private Panel pan_ZhangWu;
        private Panel pan_ZhongJian;
        private Panel pane_TopT;
        private Panel panel1;
        private Panel panel2;
        private Panel panel9;
        private PictureBox pic_Down;
        private PictureBox pic_right;
        private PictureBox pictureBox1;
        public const int SC_MOVE = 0xf010;
        public const int WM_SYSCOMMAND = 0x112;

        public FrmLead(FrmMains frmMain)
        {
            this.InitializeComponent();
            this.FrmMain = frmMain;
            if (ConfigBll.GetModel(1).IsUseDaoHang == 1)
            {
                this.chk_IsShow.Checked = true;
            }
            else
            {
                this.chk_IsShow.Checked = false;
            }
        }

        private void btn_AProc_Click(object sender, EventArgs e)
        {
            this.pan_Proc.Dock = DockStyle.Fill;
            this.pan_XiTongSheZhi.Visible = false;
            this.pan_Proc.Visible = true;
            this.pan_Sale.Visible = false;
            this.pan_Stock.Visible = false;
            this.pan_ZhangWu.Visible = false;
            this.pan_LiRun.Visible = false;
            this.pan_JiaGong.Visible = false;
            this.chk_IsShow.Focus();
        }

        private void btn_Aqtfy_Click(object sender, EventArgs e)
        {
            this.pan_ZhangWu.Dock = DockStyle.Fill;
            this.pan_XiTongSheZhi.Visible = false;
            this.pan_Proc.Visible = false;
            this.pan_Sale.Visible = false;
            this.pan_Stock.Visible = false;
            this.pan_ZhangWu.Visible = true;
            this.pan_LiRun.Visible = false;
            this.pan_JiaGong.Visible = false;
            this.chk_IsShow.Focus();
        }

        private void btn_ASale_Click(object sender, EventArgs e)
        {
            this.pan_Sale.Dock = DockStyle.Fill;
            this.pan_XiTongSheZhi.Visible = false;
            this.pan_Proc.Visible = false;
            this.pan_Sale.Visible = true;
            this.pan_Stock.Visible = false;
            this.pan_ZhangWu.Visible = false;
            this.pan_LiRun.Visible = false;
            this.pan_JiaGong.Visible = false;
            this.chk_IsShow.Focus();
        }

        private void btn_AStock_Click(object sender, EventArgs e)
        {
            this.pan_Stock.Dock = DockStyle.Fill;
            this.pan_XiTongSheZhi.Visible = false;
            this.pan_Proc.Visible = false;
            this.pan_Sale.Visible = false;
            this.pan_Stock.Visible = true;
            this.pan_ZhangWu.Visible = false;
            this.pan_LiRun.Visible = false;
            this.pan_JiaGong.Visible = false;
            this.chk_IsShow.Focus();
        }

        private void btn_Axitongshezhi_Click(object sender, EventArgs e)
        {
            this.pan_XiTongSheZhi.Dock = DockStyle.Fill;
            this.pan_XiTongSheZhi.Visible = true;
            this.pan_Proc.Visible = false;
            this.pan_Sale.Visible = false;
            this.pan_Stock.Visible = false;
            this.pan_ZhangWu.Visible = false;
            this.pan_LiRun.Visible = false;
            this.pan_JiaGong.Visible = false;
            this.chk_IsShow.Focus();
        }

        private void btn_cgbb_Click(object sender, EventArgs e)
        {
            this.FrmMain.BuildNewFrame("采购报表统计");
            this.chk_IsShow.Focus();
        }

        private void btn_CommSet_Click(object sender, EventArgs e)
        {
            this.FrmMain.BuildNewFrame("商品管理");
            this.chk_IsShow.Focus();
        }

        private void btn_CommTypeSet_Click(object sender, EventArgs e)
        {
            this.FrmMain.BuildNewFrame("商品类别管理");
            this.chk_IsShow.Focus();
        }

        private void btn_Dl_Click(object sender, EventArgs e)
        {
            this.FrmMain.BuildNewFrame("仓库管理");
            this.chk_IsShow.Focus();
        }

        private void btn_Guest_Click(object sender, EventArgs e)
        {
            this.FrmMain.BuildNewFrame("客户资料管理");
            this.chk_IsShow.Focus();
        }

        private void btn_JiaGong_Click(object sender, EventArgs e)
        {
            this.pan_JiaGong.Dock = DockStyle.Fill;
            this.pan_XiTongSheZhi.Visible = false;
            this.pan_Proc.Visible = false;
            this.pan_Sale.Visible = false;
            this.pan_Stock.Visible = false;
            this.pan_ZhangWu.Visible = false;
            this.pan_LiRun.Visible = false;
            this.pan_JiaGong.Visible = true;
            this.chk_IsShow.Focus();
        }

        private void btn_JXCmxz_Click(object sender, EventArgs e)
        {
            this.FrmMain.BuildNewFrame("进销存明细账");
            this.chk_IsShow.Focus();
        }

        private void btn_KhZk_Click(object sender, EventArgs e)
        {
            this.FrmMain.BuildNewFrame("客户折扣类型管理");
            this.chk_IsShow.Focus();
        }

        private void btn_lltj_Click(object sender, EventArgs e)
        {
            this.FrmMain.BuildNewFrame("利润统计");
            this.chk_IsShow.Focus();
        }

        private void btn_Lrtj_Click(object sender, EventArgs e)
        {
            this.pan_LiRun.Dock = DockStyle.Fill;
            this.pan_XiTongSheZhi.Visible = false;
            this.pan_Proc.Visible = false;
            this.pan_Sale.Visible = false;
            this.pan_Stock.Visible = false;
            this.pan_ZhangWu.Visible = false;
            this.pan_LiRun.Visible = true;
            this.pan_JiaGong.Visible = false;
            this.chk_IsShow.Focus();
        }

        private void btn_Procu_Click(object sender, EventArgs e)
        {
            this.FrmMain.BuildNewFrame("管理采购");
            this.chk_IsShow.Focus();
        }

        private void btn_ProPay_Click(object sender, EventArgs e)
        {
            this.FrmMain.BuildNewFrame("采购付款管理");
            this.chk_IsShow.Focus();
        }

        private void btn_qtfy_Click(object sender, EventArgs e)
        {
            this.FrmMain.BuildNewFrame("账务收支管理");
            this.chk_IsShow.Focus();
        }

        private void btn_saleBb_Click(object sender, EventArgs e)
        {
            this.FrmMain.BuildNewFrame("销售报表统计");
            this.chk_IsShow.Focus();
        }

        private void btn_Stock_Click(object sender, EventArgs e)
        {
            this.FrmMain.BuildNewFrame("管理库存");
            this.chk_IsShow.Focus();
        }

        private void btn_Suppile_Click(object sender, EventArgs e)
        {
            this.FrmMain.BuildNewFrame("供应商管理");
            this.chk_IsShow.Focus();
        }

        private void btn_TeaPackage_Click(object sender, EventArgs e)
        {
            this.FrmMain.BuildNewFrame("茶叶包装");
            this.chk_IsShow.Focus();
        }

        private void btn_TeaPay_Click(object sender, EventArgs e)
        {
            this.FrmMain.BuildNewFrame("销售收款管理");
            this.chk_IsShow.Focus();
        }

        private void btn_TeaProcess_Click(object sender, EventArgs e)
        {
            this.FrmMain.BuildNewFrame("茶叶拼堆");
            this.chk_IsShow.Focus();
        }

        private void btn_TeaSale_Click(object sender, EventArgs e)
        {
            this.FrmMain.BuildNewFrame("销售管理");
            this.chk_IsShow.Focus();
        }

        private void btn_TeaTiaoZhi_Click(object sender, EventArgs e)
        {
            this.FrmMain.BuildNewFrame("茶叶挑枝");
            this.chk_IsShow.Focus();
        }

        private void btn_TestDunk_Click(object sender, EventArgs e)
        {
            this.FrmMain.BuildNewFrame("试泡管理");
            this.chk_IsShow.Focus();
        }

        private void btn_ZhangHuMingXi_Click(object sender, EventArgs e)
        {
            this.FrmMain.BuildNewFrame("账务收支管理");
            this.chk_IsShow.Focus();
        }

        private void chk_IsShow_CheckedChanged(object sender, EventArgs e)
        {
            ConfigEnt model = ConfigBll.GetModel(1);
            if (this.chk_IsShow.Checked)
            {
                model.IsUseDaoHang = 1;
            }
            else
            {
                model.IsUseDaoHang = 0;
            }
            ConfigBll.Update(model);
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void FrmLead_Load(object sender, EventArgs e)
        {
            this.btn_Axitongshezhi_Click(null, null);
        }

        private void InitializeComponent()
        {
            ComponentResourceManager manager = new ComponentResourceManager(typeof(FrmLead));
            this.pan_DockLeft = new Panel();
            this.pan_Dock = new Panel();
            this.pan_AllPanel = new Panel();
            this.pan_AllPlanes = new Panel();
            this.panel2 = new Panel();
            this.pan_JiaGong = new Panel();
            this.btn_TeaTiaoZhi = new Button();
            this.btn_TeaProcess = new Button();
            this.btn_TeaPackage = new Button();
            this.pan_Sale = new Panel();
            this.btn_TeaPay = new Button();
            this.pictureBox1 = new PictureBox();
            this.pic_Down = new PictureBox();
            this.btn_TeaSale = new Button();
            this.btn_TestDunk = new Button();
            this.pan_LiRun = new Panel();
            this.btn_JXCmxz = new Button();
            this.btn_lltj = new Button();
            this.btn_cgbb = new Button();
            this.btn_saleBb = new Button();
            this.pan_ZhangWu = new Panel();
            this.btn_ZhangHuMingXi = new Button();
            this.btn_qtfy = new Button();
            this.pan_Stock = new Panel();
            this.btn_Stock = new Button();
            this.pan_Proc = new Panel();
            this.btn_ProPay = new Button();
            this.btn_Procu = new Button();
            this.pic_right = new PictureBox();
            this.pan_XiTongSheZhi = new Panel();
            this.btn_CommTypeSet = new Button();
            this.btn_KhZk = new Button();
            this.btn_Dl = new Button();
            this.btn_CommSet = new Button();
            this.btn_Guest = new Button();
            this.btn_Suppile = new Button();
            this.pan_LeftMenu = new Panel();
            this.btn_JiaGong = new Button();
            this.btn_Lrtj = new Button();
            this.btn_Aqtfy = new Button();
            this.btn_AStock = new Button();
            this.btn_ASale = new Button();
            this.btn_AProc = new Button();
            this.btn_Axitongshezhi = new Button();
            this.panel1 = new Panel();
            this.link_Close = new LinkLabel();
            this.chk_IsShow = new CheckBox();
            this.lbl_TiShi = new Label();
            this.panel9 = new Panel();
            this.pan_Rights = new Panel();
            this.pan_Lefts = new Panel();
            this.pan_Bottoms = new Panel();
            this.pane_TopT = new Panel();
            this.pan_DockBottom = new Panel();
            this.pan_DockRight = new Panel();
            this.pan_Top = new Panel();
            this.pan_ZhongJian = new Panel();
            this.lblTitle = new Label();
            this.pan_TopRight = new Panel();
            this.pan_TopLeft = new Panel();
            this.pan_Dock.SuspendLayout();
            this.pan_AllPanel.SuspendLayout();
            this.pan_AllPlanes.SuspendLayout();
            this.panel2.SuspendLayout();
            this.pan_JiaGong.SuspendLayout();
            this.pan_Sale.SuspendLayout();
            ((ISupportInitialize) this.pictureBox1).BeginInit();
            ((ISupportInitialize) this.pic_Down).BeginInit();
            this.pan_LiRun.SuspendLayout();
            this.pan_ZhangWu.SuspendLayout();
            this.pan_Stock.SuspendLayout();
            this.pan_Proc.SuspendLayout();
            ((ISupportInitialize) this.pic_right).BeginInit();
            this.pan_XiTongSheZhi.SuspendLayout();
            this.pan_LeftMenu.SuspendLayout();
            this.panel1.SuspendLayout();
            this.pan_Top.SuspendLayout();
            this.pan_ZhongJian.SuspendLayout();
            base.SuspendLayout();
            this.pan_DockLeft.BackColor = Color.FromArgb(0xaf, 0xbf, 190);
            this.pan_DockLeft.Dock = DockStyle.Left;
            this.pan_DockLeft.Location = new Point(0, 0);
            this.pan_DockLeft.Name = "pan_DockLeft";
            this.pan_DockLeft.Size = new Size(1, 610);
            this.pan_DockLeft.TabIndex = 0;
            this.pan_Dock.BackColor = Color.FromArgb(0, 0, 15, 0xff);
            this.pan_Dock.Controls.Add(this.pan_AllPanel);
            this.pan_Dock.Controls.Add(this.pan_DockBottom);
            this.pan_Dock.Controls.Add(this.pan_DockRight);
            this.pan_Dock.Controls.Add(this.pan_DockLeft);
            this.pan_Dock.Dock = DockStyle.Fill;
            this.pan_Dock.Location = new Point(0, 0x20);
            this.pan_Dock.Name = "pan_Dock";
            this.pan_Dock.Size = new Size(810, 610);
            this.pan_Dock.TabIndex = 5;
            this.pan_AllPanel.BackColor = Color.White;
            this.pan_AllPanel.Controls.Add(this.pan_AllPlanes);
            this.pan_AllPanel.Controls.Add(this.pan_Rights);
            this.pan_AllPanel.Controls.Add(this.pan_Lefts);
            this.pan_AllPanel.Controls.Add(this.pan_Bottoms);
            this.pan_AllPanel.Controls.Add(this.pane_TopT);
            this.pan_AllPanel.Dock = DockStyle.Fill;
            this.pan_AllPanel.Location = new Point(1, 0);
            this.pan_AllPanel.Name = "pan_AllPanel";
            this.pan_AllPanel.Size = new Size(0x328, 0x261);
            this.pan_AllPanel.TabIndex = 3;
            this.pan_AllPlanes.Controls.Add(this.panel2);
            this.pan_AllPlanes.Controls.Add(this.panel1);
            this.pan_AllPlanes.Controls.Add(this.panel9);
            this.pan_AllPlanes.Dock = DockStyle.Fill;
            this.pan_AllPlanes.Location = new Point(10, 10);
            this.pan_AllPlanes.Name = "pan_AllPlanes";
            this.pan_AllPlanes.Size = new Size(0x314, 0x24d);
            this.pan_AllPlanes.TabIndex = 4;
            this.panel2.Controls.Add(this.pan_JiaGong);
            this.panel2.Controls.Add(this.pan_Sale);
            this.panel2.Controls.Add(this.pan_LiRun);
            this.panel2.Controls.Add(this.pan_ZhangWu);
            this.panel2.Controls.Add(this.pan_Stock);
            this.panel2.Controls.Add(this.pan_Proc);
            this.panel2.Controls.Add(this.pan_XiTongSheZhi);
            this.panel2.Controls.Add(this.pan_LeftMenu);
            this.panel2.Dock = DockStyle.Fill;
            this.panel2.Location = new Point(0, 0);
            this.panel2.Name = "panel2";
            this.panel2.Size = new Size(0x314, 0x22c);
            this.panel2.TabIndex = 5;
            this.pan_JiaGong.Controls.Add(this.btn_TeaTiaoZhi);
            this.pan_JiaGong.Controls.Add(this.btn_TeaProcess);
            this.pan_JiaGong.Controls.Add(this.btn_TeaPackage);
            this.pan_JiaGong.Location = new Point(0x14f, 0x16d);
            this.pan_JiaGong.Name = "pan_JiaGong";
            this.pan_JiaGong.Size = new Size(0xee, 0x68);
            this.pan_JiaGong.TabIndex = 7;
            this.pan_JiaGong.Paint += new PaintEventHandler(this.pan_JiaGong_Paint);
            this.btn_TeaTiaoZhi.FlatAppearance.BorderSize = 0;
            this.btn_TeaTiaoZhi.FlatAppearance.MouseDownBackColor = Color.White;
            this.btn_TeaTiaoZhi.FlatAppearance.MouseOverBackColor = Color.White;
            this.btn_TeaTiaoZhi.FlatStyle = FlatStyle.Flat;
            this.btn_TeaTiaoZhi.Image = Resources.chcsye1;
            this.btn_TeaTiaoZhi.ImageAlign = ContentAlignment.MiddleLeft;
            this.btn_TeaTiaoZhi.Location = new Point(0xeb, 0x166);
            this.btn_TeaTiaoZhi.Name = "btn_TeaTiaoZhi";
            this.btn_TeaTiaoZhi.Size = new Size(0x83, 0x41);
            this.btn_TeaTiaoZhi.TabIndex = 0x11;
            this.btn_TeaTiaoZhi.Text = "茶叶挑枝";
            this.btn_TeaTiaoZhi.TextAlign = ContentAlignment.MiddleRight;
            this.btn_TeaTiaoZhi.UseVisualStyleBackColor = true;
            this.btn_TeaTiaoZhi.Click += new EventHandler(this.btn_TeaTiaoZhi_Click);
            this.btn_TeaProcess.FlatAppearance.BorderSize = 0;
            this.btn_TeaProcess.FlatAppearance.MouseDownBackColor = Color.White;
            this.btn_TeaProcess.FlatAppearance.MouseOverBackColor = Color.White;
            this.btn_TeaProcess.FlatStyle = FlatStyle.Flat;
            this.btn_TeaProcess.Image = Resources.xsck;
            this.btn_TeaProcess.ImageAlign = ContentAlignment.MiddleLeft;
            this.btn_TeaProcess.Location = new Point(0xeb, 0x86);
            this.btn_TeaProcess.Name = "btn_TeaProcess";
            this.btn_TeaProcess.Size = new Size(0x83, 0x41);
            this.btn_TeaProcess.TabIndex = 0x10;
            this.btn_TeaProcess.Text = "茶叶拼堆";
            this.btn_TeaProcess.TextAlign = ContentAlignment.MiddleRight;
            this.btn_TeaProcess.UseVisualStyleBackColor = true;
            this.btn_TeaProcess.Click += new EventHandler(this.btn_TeaProcess_Click);
            this.btn_TeaPackage.FlatAppearance.BorderSize = 0;
            this.btn_TeaPackage.FlatAppearance.MouseDownBackColor = Color.White;
            this.btn_TeaPackage.FlatAppearance.MouseOverBackColor = Color.White;
            this.btn_TeaPackage.FlatStyle = FlatStyle.Flat;
            this.btn_TeaPackage.Image = Resources.ch;
            this.btn_TeaPackage.ImageAlign = ContentAlignment.MiddleLeft;
            this.btn_TeaPackage.Location = new Point(0xeb, 0xf6);
            this.btn_TeaPackage.Name = "btn_TeaPackage";
            this.btn_TeaPackage.Size = new Size(0x83, 0x41);
            this.btn_TeaPackage.TabIndex = 15;
            this.btn_TeaPackage.Text = "茶叶包装";
            this.btn_TeaPackage.TextAlign = ContentAlignment.MiddleRight;
            this.btn_TeaPackage.UseVisualStyleBackColor = true;
            this.btn_TeaPackage.Click += new EventHandler(this.btn_TeaPackage_Click);
            this.pan_Sale.Controls.Add(this.btn_TeaPay);
            this.pan_Sale.Controls.Add(this.pictureBox1);
            this.pan_Sale.Controls.Add(this.pic_Down);
            this.pan_Sale.Controls.Add(this.btn_TeaSale);
            this.pan_Sale.Controls.Add(this.btn_TestDunk);
            this.pan_Sale.Location = new Point(0xbb, 0xf3);
            this.pan_Sale.Name = "pan_Sale";
            this.pan_Sale.Size = new Size(0xca, 100);
            this.pan_Sale.TabIndex = 3;
            this.pan_Sale.Paint += new PaintEventHandler(this.pan_Sale_Paint);
            this.btn_TeaPay.FlatAppearance.BorderSize = 0;
            this.btn_TeaPay.FlatAppearance.MouseDownBackColor = Color.White;
            this.btn_TeaPay.FlatAppearance.MouseOverBackColor = Color.White;
            this.btn_TeaPay.FlatStyle = FlatStyle.Flat;
            this.btn_TeaPay.Image = Resources.sk;
            this.btn_TeaPay.ImageAlign = ContentAlignment.MiddleLeft;
            this.btn_TeaPay.Location = new Point(0x160, 0x13f);
            this.btn_TeaPay.Name = "btn_TeaPay";
            this.btn_TeaPay.Size = new Size(0x98, 0x41);
            this.btn_TeaPay.TabIndex = 6;
            this.btn_TeaPay.Text = "茶叶收款管理";
            this.btn_TeaPay.TextAlign = ContentAlignment.MiddleRight;
            this.btn_TeaPay.UseVisualStyleBackColor = true;
            this.btn_TeaPay.Click += new EventHandler(this.btn_TeaPay_Click);
            this.pictureBox1.Image = Resources.arrowhead_right1;
            this.pictureBox1.Location = new Point(0x11e, 0x155);
            this.pictureBox1.Name = "pictureBox1";
            this.pictureBox1.Size = new Size(0x1d, 0x19);
            this.pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize;
            this.pictureBox1.TabIndex = 5;
            this.pictureBox1.TabStop = false;
            this.pic_Down.Image = Resources.down;
            this.pic_Down.Location = new Point(0xa3, 0x10a);
            this.pic_Down.Name = "pic_Down";
            this.pic_Down.Size = new Size(0x1d, 0x19);
            this.pic_Down.SizeMode = PictureBoxSizeMode.AutoSize;
            this.pic_Down.TabIndex = 4;
            this.pic_Down.TabStop = false;
            this.btn_TeaSale.FlatAppearance.BorderSize = 0;
            this.btn_TeaSale.FlatAppearance.MouseDownBackColor = Color.White;
            this.btn_TeaSale.FlatAppearance.MouseOverBackColor = Color.White;
            this.btn_TeaSale.FlatStyle = FlatStyle.Flat;
            this.btn_TeaSale.Image = Resources.xsdd;
            this.btn_TeaSale.ImageAlign = ContentAlignment.MiddleLeft;
            this.btn_TeaSale.Location = new Point(0x61, 320);
            this.btn_TeaSale.Name = "btn_TeaSale";
            this.btn_TeaSale.Size = new Size(0x98, 0x41);
            this.btn_TeaSale.TabIndex = 3;
            this.btn_TeaSale.Text = "茶叶销售管理";
            this.btn_TeaSale.TextAlign = ContentAlignment.MiddleRight;
            this.btn_TeaSale.UseVisualStyleBackColor = true;
            this.btn_TeaSale.Click += new EventHandler(this.btn_TeaSale_Click);
            this.btn_TestDunk.FlatAppearance.BorderSize = 0;
            this.btn_TestDunk.FlatAppearance.MouseDownBackColor = Color.White;
            this.btn_TestDunk.FlatAppearance.MouseOverBackColor = Color.White;
            this.btn_TestDunk.FlatStyle = FlatStyle.Flat;
            this.btn_TestDunk.Image = Resources.chcsye;
            this.btn_TestDunk.ImageAlign = ContentAlignment.MiddleLeft;
            this.btn_TestDunk.Location = new Point(0x61, 0xac);
            this.btn_TestDunk.Name = "btn_TestDunk";
            this.btn_TestDunk.Size = new Size(0x98, 0x41);
            this.btn_TestDunk.TabIndex = 2;
            this.btn_TestDunk.Text = "茶叶试泡管理";
            this.btn_TestDunk.TextAlign = ContentAlignment.MiddleRight;
            this.btn_TestDunk.UseVisualStyleBackColor = true;
            this.btn_TestDunk.Click += new EventHandler(this.btn_TestDunk_Click);
            this.pan_LiRun.Controls.Add(this.btn_JXCmxz);
            this.pan_LiRun.Controls.Add(this.btn_lltj);
            this.pan_LiRun.Controls.Add(this.btn_cgbb);
            this.pan_LiRun.Controls.Add(this.btn_saleBb);
            this.pan_LiRun.Location = new Point(0x1e3, 0xf3);
            this.pan_LiRun.Name = "pan_LiRun";
            this.pan_LiRun.Size = new Size(200, 100);
            this.pan_LiRun.TabIndex = 6;
            this.pan_LiRun.Paint += new PaintEventHandler(this.pan_LiRun_Paint);
            this.btn_JXCmxz.FlatAppearance.BorderSize = 0;
            this.btn_JXCmxz.FlatAppearance.MouseDownBackColor = Color.White;
            this.btn_JXCmxz.FlatAppearance.MouseOverBackColor = Color.White;
            this.btn_JXCmxz.FlatStyle = FlatStyle.Flat;
            this.btn_JXCmxz.Image = Resources.mxz;
            this.btn_JXCmxz.ImageAlign = ContentAlignment.MiddleLeft;
            this.btn_JXCmxz.Location = new Point(0xe0, 0x12b);
            this.btn_JXCmxz.Name = "btn_JXCmxz";
            this.btn_JXCmxz.Size = new Size(0x99, 0x41);
            this.btn_JXCmxz.TabIndex = 5;
            this.btn_JXCmxz.Text = "进销存明细账";
            this.btn_JXCmxz.TextAlign = ContentAlignment.MiddleRight;
            this.btn_JXCmxz.UseVisualStyleBackColor = true;
            this.btn_JXCmxz.Click += new EventHandler(this.btn_JXCmxz_Click);
            this.btn_lltj.FlatAppearance.BorderSize = 0;
            this.btn_lltj.FlatAppearance.MouseDownBackColor = Color.White;
            this.btn_lltj.FlatAppearance.MouseOverBackColor = Color.White;
            this.btn_lltj.FlatStyle = FlatStyle.Flat;
            this.btn_lltj.Image = Resources.zz;
            this.btn_lltj.ImageAlign = ContentAlignment.MiddleLeft;
            this.btn_lltj.Location = new Point(0xe0, 0x195);
            this.btn_lltj.Name = "btn_lltj";
            this.btn_lltj.Size = new Size(0x83, 0x41);
            this.btn_lltj.TabIndex = 4;
            this.btn_lltj.Text = "利润统计";
            this.btn_lltj.TextAlign = ContentAlignment.MiddleRight;
            this.btn_lltj.UseVisualStyleBackColor = true;
            this.btn_lltj.Click += new EventHandler(this.btn_lltj_Click);
            this.btn_cgbb.FlatAppearance.BorderSize = 0;
            this.btn_cgbb.FlatAppearance.MouseDownBackColor = Color.White;
            this.btn_cgbb.FlatAppearance.MouseOverBackColor = Color.White;
            this.btn_cgbb.FlatStyle = FlatStyle.Flat;
            this.btn_cgbb.Image = Resources.pzcx;
            this.btn_cgbb.ImageAlign = ContentAlignment.MiddleLeft;
            this.btn_cgbb.Location = new Point(0xe0, 0xc1);
            this.btn_cgbb.Name = "btn_cgbb";
            this.btn_cgbb.Size = new Size(0x99, 0x41);
            this.btn_cgbb.TabIndex = 3;
            this.btn_cgbb.Text = "采购报表统计";
            this.btn_cgbb.TextAlign = ContentAlignment.MiddleRight;
            this.btn_cgbb.UseVisualStyleBackColor = true;
            this.btn_cgbb.Click += new EventHandler(this.btn_cgbb_Click);
            this.btn_saleBb.FlatAppearance.BorderSize = 0;
            this.btn_saleBb.FlatAppearance.MouseDownBackColor = Color.White;
            this.btn_saleBb.FlatAppearance.MouseOverBackColor = Color.White;
            this.btn_saleBb.FlatStyle = FlatStyle.Flat;
            this.btn_saleBb.Image = Resources.kpcx;
            this.btn_saleBb.ImageAlign = ContentAlignment.MiddleLeft;
            this.btn_saleBb.Location = new Point(0xe0, 0x57);
            this.btn_saleBb.Name = "btn_saleBb";
            this.btn_saleBb.Size = new Size(0x99, 0x41);
            this.btn_saleBb.TabIndex = 2;
            this.btn_saleBb.Text = "销售报表统计";
            this.btn_saleBb.TextAlign = ContentAlignment.MiddleRight;
            this.btn_saleBb.UseVisualStyleBackColor = true;
            this.btn_saleBb.Click += new EventHandler(this.btn_saleBb_Click);
            this.pan_ZhangWu.Controls.Add(this.btn_ZhangHuMingXi);
            this.pan_ZhangWu.Controls.Add(this.btn_qtfy);
            this.pan_ZhangWu.Location = new Point(0x1e3, 0x79);
            this.pan_ZhangWu.Name = "pan_ZhangWu";
            this.pan_ZhangWu.Size = new Size(200, 100);
            this.pan_ZhangWu.TabIndex = 5;
            this.pan_ZhangWu.Paint += new PaintEventHandler(this.pan_ZhangWu_Paint);
            this.btn_ZhangHuMingXi.FlatAppearance.BorderSize = 0;
            this.btn_ZhangHuMingXi.FlatAppearance.MouseDownBackColor = Color.White;
            this.btn_ZhangHuMingXi.FlatAppearance.MouseOverBackColor = Color.White;
            this.btn_ZhangHuMingXi.FlatStyle = FlatStyle.Flat;
            this.btn_ZhangHuMingXi.Image = Resources.lrwlcsye;
            this.btn_ZhangHuMingXi.ImageAlign = ContentAlignment.MiddleLeft;
            this.btn_ZhangHuMingXi.Location = new Point(0xe1, 0xbf);
            this.btn_ZhangHuMingXi.Name = "btn_ZhangHuMingXi";
            this.btn_ZhangHuMingXi.Size = new Size(150, 0x43);
            this.btn_ZhangHuMingXi.TabIndex = 7;
            this.btn_ZhangHuMingXi.Text = "账务收支管理";
            this.btn_ZhangHuMingXi.TextAlign = ContentAlignment.MiddleRight;
            this.btn_ZhangHuMingXi.UseVisualStyleBackColor = true;
            this.btn_ZhangHuMingXi.Click += new EventHandler(this.btn_ZhangHuMingXi_Click);
            this.btn_qtfy.FlatAppearance.BorderSize = 0;
            this.btn_qtfy.FlatAppearance.MouseDownBackColor = Color.White;
            this.btn_qtfy.FlatAppearance.MouseOverBackColor = Color.White;
            this.btn_qtfy.FlatStyle = FlatStyle.Flat;
            this.btn_qtfy.Image = Resources.bb;
            this.btn_qtfy.ImageAlign = ContentAlignment.MiddleLeft;
            this.btn_qtfy.Location = new Point(0xea, 0x12a);
            this.btn_qtfy.Name = "btn_qtfy";
            this.btn_qtfy.Size = new Size(0x7e, 0x43);
            this.btn_qtfy.TabIndex = 6;
            this.btn_qtfy.Text = "其他费用";
            this.btn_qtfy.TextAlign = ContentAlignment.MiddleRight;
            this.btn_qtfy.UseVisualStyleBackColor = true;
            this.btn_qtfy.Click += new EventHandler(this.btn_qtfy_Click);
            this.pan_Stock.Controls.Add(this.btn_Stock);
            this.pan_Stock.Location = new Point(0x1e3, 0);
            this.pan_Stock.Name = "pan_Stock";
            this.pan_Stock.Size = new Size(200, 100);
            this.pan_Stock.TabIndex = 4;
            this.pan_Stock.Paint += new PaintEventHandler(this.pan_Stock_Paint);
            this.btn_Stock.FlatAppearance.BorderSize = 0;
            this.btn_Stock.FlatAppearance.MouseDownBackColor = Color.White;
            this.btn_Stock.FlatAppearance.MouseOverBackColor = Color.White;
            this.btn_Stock.FlatStyle = FlatStyle.Flat;
            this.btn_Stock.Image = Resources.ck;
            this.btn_Stock.ImageAlign = ContentAlignment.MiddleLeft;
            this.btn_Stock.Location = new Point(0xed, 0xf6);
            this.btn_Stock.Name = "btn_Stock";
            this.btn_Stock.Size = new Size(0x7e, 0x41);
            this.btn_Stock.TabIndex = 2;
            this.btn_Stock.Text = "库存管理";
            this.btn_Stock.TextAlign = ContentAlignment.MiddleRight;
            this.btn_Stock.UseVisualStyleBackColor = true;
            this.btn_Stock.Click += new EventHandler(this.btn_Stock_Click);
            this.pan_Proc.Controls.Add(this.btn_ProPay);
            this.pan_Proc.Controls.Add(this.btn_Procu);
            this.pan_Proc.Controls.Add(this.pic_right);
            this.pan_Proc.Location = new Point(0xbd, 0x79);
            this.pan_Proc.Name = "pan_Proc";
            this.pan_Proc.Size = new Size(200, 100);
            this.pan_Proc.TabIndex = 2;
            this.pan_Proc.Paint += new PaintEventHandler(this.pan_Proc_Paint);
            this.btn_ProPay.FlatAppearance.BorderSize = 0;
            this.btn_ProPay.FlatAppearance.MouseDownBackColor = Color.White;
            this.btn_ProPay.FlatAppearance.MouseOverBackColor = Color.White;
            this.btn_ProPay.FlatStyle = FlatStyle.Flat;
            this.btn_ProPay.Image = Resources.fk;
            this.btn_ProPay.ImageAlign = ContentAlignment.MiddleLeft;
            this.btn_ProPay.Location = new Point(0x150, 0xf6);
            this.btn_ProPay.Name = "btn_ProPay";
            this.btn_ProPay.Size = new Size(0x7e, 0x41);
            this.btn_ProPay.TabIndex = 15;
            this.btn_ProPay.Text = "采购付款";
            this.btn_ProPay.TextAlign = ContentAlignment.MiddleRight;
            this.btn_ProPay.UseVisualStyleBackColor = true;
            this.btn_ProPay.Click += new EventHandler(this.btn_ProPay_Click);
            this.btn_Procu.FlatAppearance.BorderSize = 0;
            this.btn_Procu.FlatAppearance.MouseDownBackColor = Color.White;
            this.btn_Procu.FlatAppearance.MouseOverBackColor = Color.White;
            this.btn_Procu.FlatStyle = FlatStyle.Flat;
            this.btn_Procu.Image = Resources.gh;
            this.btn_Procu.ImageAlign = ContentAlignment.MiddleLeft;
            this.btn_Procu.Location = new Point(0x8a, 0xf6);
            this.btn_Procu.Name = "btn_Procu";
            this.btn_Procu.Size = new Size(0x83, 0x41);
            this.btn_Procu.TabIndex = 14;
            this.btn_Procu.Text = "采购茶叶";
            this.btn_Procu.TextAlign = ContentAlignment.MiddleRight;
            this.btn_Procu.UseVisualStyleBackColor = true;
            this.btn_Procu.Click += new EventHandler(this.btn_Procu_Click);
            this.pic_right.Image = Resources.arrowhead_right;
            this.pic_right.Location = new Point(0x120, 0x10d);
            this.pic_right.Name = "pic_right";
            this.pic_right.Size = new Size(0x1d, 0x19);
            this.pic_right.SizeMode = PictureBoxSizeMode.AutoSize;
            this.pic_right.TabIndex = 11;
            this.pic_right.TabStop = false;
            this.pan_XiTongSheZhi.Controls.Add(this.btn_CommTypeSet);
            this.pan_XiTongSheZhi.Controls.Add(this.btn_KhZk);
            this.pan_XiTongSheZhi.Controls.Add(this.btn_Dl);
            this.pan_XiTongSheZhi.Controls.Add(this.btn_CommSet);
            this.pan_XiTongSheZhi.Controls.Add(this.btn_Guest);
            this.pan_XiTongSheZhi.Controls.Add(this.btn_Suppile);
            this.pan_XiTongSheZhi.Location = new Point(0xbb, 0);
            this.pan_XiTongSheZhi.Name = "pan_XiTongSheZhi";
            this.pan_XiTongSheZhi.Size = new Size(210, 0x60);
            this.pan_XiTongSheZhi.TabIndex = 1;
            this.pan_XiTongSheZhi.Paint += new PaintEventHandler(this.pan_XiTongSheZhi_Paint);
            this.btn_CommTypeSet.FlatAppearance.BorderSize = 0;
            this.btn_CommTypeSet.FlatAppearance.MouseDownBackColor = Color.White;
            this.btn_CommTypeSet.FlatAppearance.MouseOverBackColor = Color.White;
            this.btn_CommTypeSet.FlatStyle = FlatStyle.Flat;
            this.btn_CommTypeSet.Image = Resources.lrcwcsye;
            this.btn_CommTypeSet.ImageAlign = ContentAlignment.MiddleLeft;
            this.btn_CommTypeSet.Location = new Point(0x63, 380);
            this.btn_CommTypeSet.Name = "btn_CommTypeSet";
            this.btn_CommTypeSet.Size = new Size(0x9a, 0x41);
            this.btn_CommTypeSet.TabIndex = 7;
            this.btn_CommTypeSet.Text = "商品分类设置";
            this.btn_CommTypeSet.TextAlign = ContentAlignment.MiddleRight;
            this.btn_CommTypeSet.UseVisualStyleBackColor = true;
            this.btn_CommTypeSet.Click += new EventHandler(this.btn_CommTypeSet_Click);
            this.btn_KhZk.FlatAppearance.BorderSize = 0;
            this.btn_KhZk.FlatAppearance.MouseOverBackColor = Color.White;
            this.btn_KhZk.FlatStyle = FlatStyle.Flat;
            this.btn_KhZk.Image = Resources.zz;
            this.btn_KhZk.ImageAlign = ContentAlignment.MiddleLeft;
            this.btn_KhZk.Location = new Point(0x15b, 0x17e);
            this.btn_KhZk.Name = "btn_KhZk";
            this.btn_KhZk.Size = new Size(0x9a, 0x41);
            this.btn_KhZk.TabIndex = 6;
            this.btn_KhZk.Text = "客户折扣设置";
            this.btn_KhZk.TextAlign = ContentAlignment.MiddleRight;
            this.btn_KhZk.UseVisualStyleBackColor = true;
            this.btn_KhZk.Click += new EventHandler(this.btn_KhZk_Click);
            this.btn_Dl.FlatAppearance.BorderSize = 0;
            this.btn_Dl.FlatAppearance.MouseDownBackColor = Color.White;
            this.btn_Dl.FlatAppearance.MouseOverBackColor = Color.White;
            this.btn_Dl.FlatStyle = FlatStyle.Flat;
            this.btn_Dl.Image = Resources.gdzckplr1;
            this.btn_Dl.ImageAlign = ContentAlignment.MiddleLeft;
            this.btn_Dl.Location = new Point(0x15b, 0xf6);
            this.btn_Dl.Name = "btn_Dl";
            this.btn_Dl.Size = new Size(0x80, 0x41);
            this.btn_Dl.TabIndex = 5;
            this.btn_Dl.Text = "仓库设置";
            this.btn_Dl.TextAlign = ContentAlignment.MiddleRight;
            this.btn_Dl.UseVisualStyleBackColor = true;
            this.btn_Dl.Click += new EventHandler(this.btn_Dl_Click);
            this.btn_CommSet.FlatAppearance.BorderSize = 0;
            this.btn_CommSet.FlatAppearance.MouseDownBackColor = Color.White;
            this.btn_CommSet.FlatAppearance.MouseOverBackColor = Color.White;
            this.btn_CommSet.FlatStyle = FlatStyle.Flat;
            this.btn_CommSet.Image = Resources.ch;
            this.btn_CommSet.ImageAlign = ContentAlignment.MiddleLeft;
            this.btn_CommSet.Location = new Point(0x63, 0xf5);
            this.btn_CommSet.Name = "btn_CommSet";
            this.btn_CommSet.Size = new Size(0x80, 0x41);
            this.btn_CommSet.TabIndex = 4;
            this.btn_CommSet.Text = "商品设置";
            this.btn_CommSet.TextAlign = ContentAlignment.MiddleRight;
            this.btn_CommSet.UseVisualStyleBackColor = true;
            this.btn_CommSet.Click += new EventHandler(this.btn_CommSet_Click);
            this.btn_Guest.FlatAppearance.BorderSize = 0;
            this.btn_Guest.FlatAppearance.MouseDownBackColor = Color.White;
            this.btn_Guest.FlatAppearance.MouseOverBackColor = Color.White;
            this.btn_Guest.FlatStyle = FlatStyle.Flat;
            this.btn_Guest.Image = Resources.kh1;
            this.btn_Guest.ImageAlign = ContentAlignment.MiddleLeft;
            this.btn_Guest.Location = new Point(0x15b, 110);
            this.btn_Guest.Name = "btn_Guest";
            this.btn_Guest.Size = new Size(150, 0x41);
            this.btn_Guest.TabIndex = 3;
            this.btn_Guest.Text = "客户资料管理";
            this.btn_Guest.TextAlign = ContentAlignment.MiddleRight;
            this.btn_Guest.UseVisualStyleBackColor = true;
            this.btn_Guest.Click += new EventHandler(this.btn_Guest_Click);
            this.btn_Suppile.FlatAppearance.BorderSize = 0;
            this.btn_Suppile.FlatAppearance.MouseDownBackColor = Color.White;
            this.btn_Suppile.FlatAppearance.MouseOverBackColor = Color.White;
            this.btn_Suppile.FlatStyle = FlatStyle.Flat;
            this.btn_Suppile.Image = Resources.gys;
            this.btn_Suppile.ImageAlign = ContentAlignment.MiddleLeft;
            this.btn_Suppile.Location = new Point(0x63, 110);
            this.btn_Suppile.Name = "btn_Suppile";
            this.btn_Suppile.Size = new Size(140, 0x41);
            this.btn_Suppile.TabIndex = 2;
            this.btn_Suppile.Text = "供应商管理";
            this.btn_Suppile.TextAlign = ContentAlignment.MiddleRight;
            this.btn_Suppile.UseVisualStyleBackColor = true;
            this.btn_Suppile.Click += new EventHandler(this.btn_Suppile_Click);
            this.pan_LeftMenu.Controls.Add(this.btn_JiaGong);
            this.pan_LeftMenu.Controls.Add(this.btn_Lrtj);
            this.pan_LeftMenu.Controls.Add(this.btn_Aqtfy);
            this.pan_LeftMenu.Controls.Add(this.btn_AStock);
            this.pan_LeftMenu.Controls.Add(this.btn_ASale);
            this.pan_LeftMenu.Controls.Add(this.btn_AProc);
            this.pan_LeftMenu.Controls.Add(this.btn_Axitongshezhi);
            this.pan_LeftMenu.Dock = DockStyle.Left;
            this.pan_LeftMenu.Location = new Point(0, 0);
            this.pan_LeftMenu.Name = "pan_LeftMenu";
            this.pan_LeftMenu.Size = new Size(0xbb, 0x22c);
            this.pan_LeftMenu.TabIndex = 0;
            this.pan_LeftMenu.Paint += new PaintEventHandler(this.pan_LeftMenu_Paint);
            this.btn_JiaGong.FlatAppearance.BorderSize = 0;
            this.btn_JiaGong.FlatAppearance.MouseDownBackColor = Color.White;
            this.btn_JiaGong.FlatAppearance.MouseOverBackColor = Color.White;
            this.btn_JiaGong.FlatStyle = FlatStyle.Flat;
            this.btn_JiaGong.Image = Resources.chzh;
            this.btn_JiaGong.ImageAlign = ContentAlignment.MiddleLeft;
            this.btn_JiaGong.Location = new Point(20, 0x1e1);
            this.btn_JiaGong.Name = "btn_JiaGong";
            this.btn_JiaGong.Size = new Size(0x7e, 0x43);
            this.btn_JiaGong.TabIndex = 7;
            this.btn_JiaGong.Text = "茶叶加工";
            this.btn_JiaGong.TextAlign = ContentAlignment.MiddleRight;
            this.btn_JiaGong.UseVisualStyleBackColor = true;
            this.btn_JiaGong.Click += new EventHandler(this.btn_JiaGong_Click);
            this.btn_Lrtj.FlatAppearance.BorderSize = 0;
            this.btn_Lrtj.FlatAppearance.MouseDownBackColor = Color.White;
            this.btn_Lrtj.FlatAppearance.MouseOverBackColor = Color.White;
            this.btn_Lrtj.FlatStyle = FlatStyle.Flat;
            this.btn_Lrtj.Image = Resources.kjkm;
            this.btn_Lrtj.ImageAlign = ContentAlignment.MiddleLeft;
            this.btn_Lrtj.Location = new Point(20, 0x192);
            this.btn_Lrtj.Name = "btn_Lrtj";
            this.btn_Lrtj.Size = new Size(0x7e, 0x43);
            this.btn_Lrtj.TabIndex = 6;
            this.btn_Lrtj.Text = "利润统计";
            this.btn_Lrtj.TextAlign = ContentAlignment.MiddleRight;
            this.btn_Lrtj.UseVisualStyleBackColor = true;
            this.btn_Lrtj.Click += new EventHandler(this.btn_Lrtj_Click);
            this.btn_Aqtfy.FlatAppearance.BorderSize = 0;
            this.btn_Aqtfy.FlatAppearance.MouseDownBackColor = Color.White;
            this.btn_Aqtfy.FlatAppearance.MouseOverBackColor = Color.White;
            this.btn_Aqtfy.FlatStyle = FlatStyle.Flat;
            this.btn_Aqtfy.Image = Resources.fyzc_20;
            this.btn_Aqtfy.ImageAlign = ContentAlignment.MiddleLeft;
            this.btn_Aqtfy.Location = new Point(20, 0x143);
            this.btn_Aqtfy.Name = "btn_Aqtfy";
            this.btn_Aqtfy.Size = new Size(0x7e, 0x43);
            this.btn_Aqtfy.TabIndex = 5;
            this.btn_Aqtfy.Text = "其他费用";
            this.btn_Aqtfy.TextAlign = ContentAlignment.MiddleRight;
            this.btn_Aqtfy.UseVisualStyleBackColor = true;
            this.btn_Aqtfy.Click += new EventHandler(this.btn_Aqtfy_Click);
            this.btn_AStock.FlatAppearance.BorderSize = 0;
            this.btn_AStock.FlatAppearance.MouseDownBackColor = Color.White;
            this.btn_AStock.FlatAppearance.MouseOverBackColor = Color.White;
            this.btn_AStock.FlatStyle = FlatStyle.Flat;
            this.btn_AStock.Image = Resources.gdzckplr;
            this.btn_AStock.ImageAlign = ContentAlignment.MiddleLeft;
            this.btn_AStock.Location = new Point(20, 0xf4);
            this.btn_AStock.Name = "btn_AStock";
            this.btn_AStock.Size = new Size(150, 0x43);
            this.btn_AStock.TabIndex = 4;
            this.btn_AStock.Text = "库存管理(存)";
            this.btn_AStock.TextAlign = ContentAlignment.MiddleRight;
            this.btn_AStock.UseVisualStyleBackColor = true;
            this.btn_AStock.Click += new EventHandler(this.btn_AStock_Click);
            this.btn_ASale.FlatAppearance.BorderSize = 0;
            this.btn_ASale.FlatAppearance.MouseDownBackColor = Color.White;
            this.btn_ASale.FlatAppearance.MouseOverBackColor = Color.White;
            this.btn_ASale.FlatStyle = FlatStyle.Flat;
            this.btn_ASale.Image = Resources.xh;
            this.btn_ASale.ImageAlign = ContentAlignment.MiddleLeft;
            this.btn_ASale.Location = new Point(20, 0xa5);
            this.btn_ASale.Name = "btn_ASale";
            this.btn_ASale.Size = new Size(150, 0x43);
            this.btn_ASale.TabIndex = 3;
            this.btn_ASale.Text = "茶叶销售(销)";
            this.btn_ASale.TextAlign = ContentAlignment.MiddleRight;
            this.btn_ASale.UseVisualStyleBackColor = true;
            this.btn_ASale.Click += new EventHandler(this.btn_ASale_Click);
            this.btn_AProc.FlatAppearance.BorderSize = 0;
            this.btn_AProc.FlatAppearance.MouseDownBackColor = Color.White;
            this.btn_AProc.FlatAppearance.MouseOverBackColor = Color.White;
            this.btn_AProc.FlatStyle = FlatStyle.Flat;
            this.btn_AProc.Image = Resources.cgrk1;
            this.btn_AProc.ImageAlign = ContentAlignment.MiddleLeft;
            this.btn_AProc.Location = new Point(20, 0x56);
            this.btn_AProc.Name = "btn_AProc";
            this.btn_AProc.Size = new Size(150, 0x43);
            this.btn_AProc.TabIndex = 2;
            this.btn_AProc.Text = "茶叶采购(进)";
            this.btn_AProc.TextAlign = ContentAlignment.MiddleRight;
            this.btn_AProc.UseVisualStyleBackColor = false;
            this.btn_AProc.Click += new EventHandler(this.btn_AProc_Click);
            this.btn_Axitongshezhi.BackColor = Color.White;
            this.btn_Axitongshezhi.FlatAppearance.BorderSize = 0;
            this.btn_Axitongshezhi.FlatAppearance.MouseDownBackColor = Color.White;
            this.btn_Axitongshezhi.FlatAppearance.MouseOverBackColor = Color.White;
            this.btn_Axitongshezhi.FlatStyle = FlatStyle.Flat;
            this.btn_Axitongshezhi.Image = Resources.xtsz;
            this.btn_Axitongshezhi.ImageAlign = ContentAlignment.MiddleLeft;
            this.btn_Axitongshezhi.Location = new Point(20, 9);
            this.btn_Axitongshezhi.Name = "btn_Axitongshezhi";
            this.btn_Axitongshezhi.Size = new Size(0x7e, 0x41);
            this.btn_Axitongshezhi.TabIndex = 1;
            this.btn_Axitongshezhi.Text = "基本资料";
            this.btn_Axitongshezhi.TextAlign = ContentAlignment.MiddleRight;
            this.btn_Axitongshezhi.UseVisualStyleBackColor = false;
            this.btn_Axitongshezhi.Click += new EventHandler(this.btn_Axitongshezhi_Click);
            this.panel1.Controls.Add(this.link_Close);
            this.panel1.Controls.Add(this.chk_IsShow);
            this.panel1.Controls.Add(this.lbl_TiShi);
            this.panel1.Dock = DockStyle.Bottom;
            this.panel1.Location = new Point(0, 0x22c);
            this.panel1.Name = "panel1";
            this.panel1.Size = new Size(0x314, 0x1c);
            this.panel1.TabIndex = 4;
            this.panel1.Paint += new PaintEventHandler(this.panel1_Paint);
            this.link_Close.AutoSize = true;
            this.link_Close.Location = new Point(0x1df, 8);
            this.link_Close.Name = "link_Close";
            this.link_Close.Size = new Size(0x29, 12);
            this.link_Close.TabIndex = 2;
            this.link_Close.TabStop = true;
            this.link_Close.Text = "关  闭";
            this.link_Close.LinkClicked += new LinkLabelLinkClickedEventHandler(this.link_Close_LinkClicked);
            this.chk_IsShow.AutoSize = true;
            this.chk_IsShow.Location = new Point(20, 6);
            this.chk_IsShow.Name = "chk_IsShow";
            this.chk_IsShow.Size = new Size(0xa8, 0x10);
            this.chk_IsShow.TabIndex = 1;
            this.chk_IsShow.Text = "程序启动时显示该导航窗体";
            this.chk_IsShow.UseVisualStyleBackColor = true;
            this.chk_IsShow.CheckedChanged += new EventHandler(this.chk_IsShow_CheckedChanged);
            this.lbl_TiShi.AutoSize = true;
            this.lbl_TiShi.Location = new Point(0x210, 8);
            this.lbl_TiShi.Name = "lbl_TiShi";
            this.lbl_TiShi.Size = new Size(0xcb, 12);
            this.lbl_TiShi.TabIndex = 0;
            this.lbl_TiShi.Text = "使用F2键可以显示/隐藏当前导航窗口";
            this.panel9.Dock = DockStyle.Bottom;
            this.panel9.Location = new Point(0, 0x248);
            this.panel9.Name = "panel9";
            this.panel9.Size = new Size(0x314, 5);
            this.panel9.TabIndex = 3;
            this.pan_Rights.Dock = DockStyle.Right;
            this.pan_Rights.Location = new Point(0x31e, 10);
            this.pan_Rights.Name = "pan_Rights";
            this.pan_Rights.Size = new Size(10, 0x24d);
            this.pan_Rights.TabIndex = 3;
            this.pan_Lefts.Dock = DockStyle.Left;
            this.pan_Lefts.Location = new Point(0, 10);
            this.pan_Lefts.Name = "pan_Lefts";
            this.pan_Lefts.Size = new Size(10, 0x24d);
            this.pan_Lefts.TabIndex = 2;
            this.pan_Bottoms.Dock = DockStyle.Bottom;
            this.pan_Bottoms.Location = new Point(0, 0x257);
            this.pan_Bottoms.Name = "pan_Bottoms";
            this.pan_Bottoms.Size = new Size(0x328, 10);
            this.pan_Bottoms.TabIndex = 1;
            this.pane_TopT.Dock = DockStyle.Top;
            this.pane_TopT.Location = new Point(0, 0);
            this.pane_TopT.Name = "pane_TopT";
            this.pane_TopT.Size = new Size(0x328, 10);
            this.pane_TopT.TabIndex = 0;
            this.pan_DockBottom.BackColor = Color.FromArgb(0xaf, 0xbf, 190);
            this.pan_DockBottom.Dock = DockStyle.Bottom;
            this.pan_DockBottom.Location = new Point(1, 0x261);
            this.pan_DockBottom.Name = "pan_DockBottom";
            this.pan_DockBottom.Size = new Size(0x328, 1);
            this.pan_DockBottom.TabIndex = 2;
            this.pan_DockRight.BackColor = Color.FromArgb(0xaf, 0xbf, 190);
            this.pan_DockRight.Dock = DockStyle.Right;
            this.pan_DockRight.Location = new Point(0x329, 0);
            this.pan_DockRight.Name = "pan_DockRight";
            this.pan_DockRight.Size = new Size(1, 610);
            this.pan_DockRight.TabIndex = 1;
            this.pan_Top.Controls.Add(this.pan_ZhongJian);
            this.pan_Top.Controls.Add(this.pan_TopRight);
            this.pan_Top.Controls.Add(this.pan_TopLeft);
            this.pan_Top.Dock = DockStyle.Top;
            this.pan_Top.Location = new Point(0, 0);
            this.pan_Top.Name = "pan_Top";
            this.pan_Top.Size = new Size(810, 0x20);
            this.pan_Top.TabIndex = 4;
            this.pan_ZhongJian.BackgroundImage = Resources.uc_title_2;
            this.pan_ZhongJian.Controls.Add(this.lblTitle);
            this.pan_ZhongJian.Dock = DockStyle.Fill;
            this.pan_ZhongJian.Location = new Point(0x1f, 0);
            this.pan_ZhongJian.Name = "pan_ZhongJian";
            this.pan_ZhongJian.Size = new Size(0x306, 0x20);
            this.pan_ZhongJian.TabIndex = 2;
            this.pan_ZhongJian.MouseDown += new MouseEventHandler(this.pan_ZhongJian_MouseDown);
            this.lblTitle.AutoSize = true;
            this.lblTitle.BackColor = Color.FromArgb(0, 0, 15, 0xff);
            this.lblTitle.Font = new Font("宋体", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 0x86);
            this.lblTitle.ForeColor = Color.FromArgb(0x3b, 0x56, 20);
            this.lblTitle.Location = new Point(6, 8);
            this.lblTitle.Name = "lblTitle";
            this.lblTitle.Size = new Size(0xa1, 13);
            this.lblTitle.TabIndex = 0;
            this.lblTitle.Text = "茶叶进销存系统操作流程";
            this.pan_TopRight.BackgroundImage = Resources.uc_title_1;
            this.pan_TopRight.Dock = DockStyle.Right;
            this.pan_TopRight.Location = new Point(0x325, 0);
            this.pan_TopRight.Name = "pan_TopRight";
            this.pan_TopRight.Size = new Size(5, 0x20);
            this.pan_TopRight.TabIndex = 1;
            this.pan_TopLeft.BackgroundImage = Resources.uc_title;
            this.pan_TopLeft.Dock = DockStyle.Left;
            this.pan_TopLeft.Location = new Point(0, 0);
            this.pan_TopLeft.Name = "pan_TopLeft";
            this.pan_TopLeft.Size = new Size(0x1f, 0x20);
            this.pan_TopLeft.TabIndex = 0;
            this.pan_TopLeft.MouseDown += new MouseEventHandler(this.pan_TopLeft_MouseDown);
            base.AutoScaleDimensions = new SizeF(6f, 12f);
            base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize = new Size(810, 0x282);
            base.Controls.Add(this.pan_Dock);
            base.Controls.Add(this.pan_Top);
            base.FormBorderStyle = FormBorderStyle.None;
            base.Icon = (Icon) manager.GetObject("$this.Icon");
            base.MaximizeBox = false;
            base.MinimizeBox = false;
            base.Name = "FrmLead";
            this.Text = "导航窗口";
            base.Load += new EventHandler(this.FrmLead_Load);
            this.pan_Dock.ResumeLayout(false);
            this.pan_AllPanel.ResumeLayout(false);
            this.pan_AllPlanes.ResumeLayout(false);
            this.panel2.ResumeLayout(false);
            this.pan_JiaGong.ResumeLayout(false);
            this.pan_Sale.ResumeLayout(false);
            this.pan_Sale.PerformLayout();
            ((ISupportInitialize) this.pictureBox1).EndInit();
            ((ISupportInitialize) this.pic_Down).EndInit();
            this.pan_LiRun.ResumeLayout(false);
            this.pan_ZhangWu.ResumeLayout(false);
            this.pan_Stock.ResumeLayout(false);
            this.pan_Proc.ResumeLayout(false);
            this.pan_Proc.PerformLayout();
            ((ISupportInitialize) this.pic_right).EndInit();
            this.pan_XiTongSheZhi.ResumeLayout(false);
            this.pan_LeftMenu.ResumeLayout(false);
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            this.pan_Top.ResumeLayout(false);
            this.pan_ZhongJian.ResumeLayout(false);
            this.pan_ZhongJian.PerformLayout();
            base.ResumeLayout(false);
        }

        private void link_Close_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            base.Hide();
        }

        private void pan_JiaGong_Paint(object sender, PaintEventArgs e)
        {
            this.Panel_ResetPaint(e, this.pan_JiaGong, Color.FromArgb(0xca, 0xc9, 0xce), 0, 1, 1, 1);
        }

        private void pan_LeftMenu_Paint(object sender, PaintEventArgs e)
        {
            this.Panel_ResetPaint(e, this.pan_LeftMenu, Color.FromArgb(0xca, 0xc9, 0xce), 1, 1, 1, 1);
        }

        private void pan_LiRun_Paint(object sender, PaintEventArgs e)
        {
            this.Panel_ResetPaint(e, this.pan_LiRun, Color.FromArgb(0xca, 0xc9, 0xce), 0, 1, 1, 1);
        }

        private void pan_Proc_Paint(object sender, PaintEventArgs e)
        {
            this.Panel_ResetPaint(e, this.pan_Proc, Color.FromArgb(0xca, 0xc9, 0xce), 0, 1, 1, 1);
        }

        private void pan_Sale_Paint(object sender, PaintEventArgs e)
        {
            this.Panel_ResetPaint(e, this.pan_Sale, Color.FromArgb(0xca, 0xc9, 0xce), 0, 1, 1, 1);
        }

        private void pan_Stock_Paint(object sender, PaintEventArgs e)
        {
            this.Panel_ResetPaint(e, this.pan_Stock, Color.FromArgb(0xca, 0xc9, 0xce), 0, 1, 1, 1);
        }

        private void pan_TopLeft_MouseDown(object sender, MouseEventArgs e)
        {
            ReleaseCapture();
            SendMessage(base.Handle, 0x112, 0xf012, 0);
        }

        private void pan_XiTongSheZhi_Paint(object sender, PaintEventArgs e)
        {
            this.Panel_ResetPaint(e, this.pan_XiTongSheZhi, Color.FromArgb(0xca, 0xc9, 0xce), 0, 1, 1, 1);
        }

        private void pan_ZhangWu_Paint(object sender, PaintEventArgs e)
        {
            this.Panel_ResetPaint(e, this.pan_ZhangWu, Color.FromArgb(0xca, 0xc9, 0xce), 0, 1, 1, 1);
        }

        private void pan_ZhongJian_MouseDown(object sender, MouseEventArgs e)
        {
            ReleaseCapture();
            SendMessage(base.Handle, 0x112, 0xf012, 0);
        }

        private void Panel_ResetPaint(PaintEventArgs e, Panel panel, Color color, int leftBoder, int topBoder, int rightBoder, int bottomBoder)
        {
            ControlPaint.DrawBorder(e.Graphics, panel.ClientRectangle, color, leftBoder, ButtonBorderStyle.Solid, color, topBoder, ButtonBorderStyle.Solid, color, rightBoder, ButtonBorderStyle.Solid, color, bottomBoder, ButtonBorderStyle.Solid);
        }

        private void panel1_Paint(object sender, PaintEventArgs e)
        {
            this.Panel_ResetPaint(e, this.panel1, Color.FromArgb(0xca, 0xc9, 0xce), 1, 0, 1, 1);
        }

        [DllImport("user32.dll")]
        public static extern bool ReleaseCapture();
        [DllImport("user32.dll")]
        public static extern bool SendMessage(IntPtr hwnd, int wMsg, int wParam, int lParam);
    }
}

